package com.zero.mapper;

import com.zero.entity.District;

import java.util.List;


/**
 * @Author: Zero
 * @Description:  实体类District对应的mapper接口
 * @Date: 2022/10/17 20:08
 * @Param:
 * @return:
 **/
public interface DistrictMapper {

    //根据父代号查询区域信息
    List<District> queryDistrictByParent(String parent);

    //根据code查询当前省市区的名称
    String queryDistrictByCode(String code);
}
